#if !defined(AFX_CHARTELEMENTSVIEW_H__EDE47FA4_708F_4501_9CBE_48F446C8AAA3__INCLUDED_)
#define AFX_CHARTELEMENTSVIEW_H__EDE47FA4_708F_4501_9CBE_48F446C8AAA3__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// This is a sample for BCGControlBar Library Professional Edition
// Copyright (C) 1998-2016 BCGSoft Ltd.
// All rights reserved.
//
// This source code can be used, distributed or modified
// only under terms and conditions 
// of the accompanying license agreement.
//*******************************************************************************
//
// ChartElementsView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CChartElementsView form view

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

#include "BCGPChartExampleDoc.h"
#include "BCGPChartExampleView.h"

class CChartElementsView : public CBCGPChartExampleView
{
protected:
	CChartElementsView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CChartElementsView)

// Form Data
public:
	//{{AFX_DATA(CChartElementsView)
	enum { IDD = IDD_CHART_ELEMENTS };
	CBCGPButton	m_wndDataTableLegendKeys;
	CBCGPButton	m_wndYAxisGridLines;
	CBCGPButton	m_wndXAxisGridLines;
	CBCGPButton	m_wndYAxisInterlasing;
	CBCGPButton	m_wndXAxisInterlasing;
	CBCGPButton	m_wndTitleOverlapsChart;
	CBCGPButton	m_wndLegendOverlapsChart;
	CBCGPButton	m_wndYAxisName;
	CBCGPButton	m_wndXAxisName;
	CBCGPChartCtrl	m_wndChart;
	BOOL	m_bXAxis;
	BOOL	m_bXAxisName;
	BOOL	m_bYAxis;
	BOOL	m_bYAxisName;
	BOOL	m_bDataLabels;
	BOOL	m_bDataMarkers;
	BOOL	m_bLegend;
	BOOL	m_bLegendOverlapsChart;
	BOOL	m_bTitle;
	BOOL	m_bTitleOverlapsChart;
	BOOL	m_bXIntervalInterlasing;
	BOOL	m_bYIntervalInterlasing;
	BOOL	m_bYAxisGridLines;
	BOOL	m_bXAxisGridLines;
	BOOL	m_bSecondSeries;
	BOOL	m_bColoredZones;
	BOOL	m_bCustomLines;
	BOOL	m_bTextObjects;
	BOOL	m_bDataTable;
	BOOL	m_bDataTableLegendKeys;
	BOOL	m_bXAxisReversed;
	//}}AFX_DATA

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CChartElementsView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

	virtual CBCGPChartVisualObject* GetChart()
	{
		return m_wndChart.GetChart();
	}

	virtual CBCGPBaseVisualCtrl* GetCtrl()
	{
		return &m_wndChart;
	}

	virtual void OnChangeBackgroundDarkness()
	{
		SetObjectColors();
	}

	void SetObjectColors();
	virtual void OnChartAnimation();

// Implementation
protected:
	virtual ~CChartElementsView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CChartElementsView)
	afx_msg void OnUpdateChart();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

	CBCGPBrush			m_brFill1;
	CBCGPBrush			m_brFill2;
	CBCGPBrush			m_brFill3;
	CBCGPBrush			m_brFill4;
	CBCGPBrush			m_brLine1;
	CBCGPBrush			m_brLine2;
	CBCGPBrush			m_brText1;
	CBCGPBrush			m_brText2;
	CBCGPStrokeStyle	m_strokeStyle;
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHARTELEMENTSVIEW_H__EDE47FA4_708F_4501_9CBE_48F446C8AAA3__INCLUDED_)
